Feature: edit user's account detail
	As a user
	I want to change my personal info
	So that my account is up to date

Background:
  Given I am logged in as "renaldi"
  And I am on the "Index" page

Scenario: Go to account page
	Given I am on the Index page
	When I follow "Your Account"
	Then I should be on my personal account page
	
Scenario: Go to personal page
	Given I am on the "Your Account" page
	When I click on "Personal Info"
	Then I should be on my "Personal Info" page
	
Scenario: 
	Given I am on the "Personal Info" page
	Then I should see my email address as "yahoon_manis@hotmail.com"
	And I should see "Edit" button
	And when I press "Edit"
  And I fill in "Email" with "renaldiagus@gmail.com"
	And I press "Confirm"
	Then I should see my email adress as "renaldiagus@gmail.com"
